﻿///*
// * CoordinateSystemTransformCache
// * 
// * initial implementation : 20.11.2008
// *
// * Copyright (c) Adam Sida, asida@centrum.cz.
// * All rights reserved.
// * 
// * for license see Petra.Gis.License.txt
// */
//using System;
//using System.Collections.Generic;
//using System.Runtime.Serialization;


//namespace Petra.Gis.ReferenceSystemServices.Transformations
//{
//  /// <summary>
//  /// represents global Petra.Gis system cache with predefined coordinate systems transformations
//  /// </summary>
//  [DataContract(Name = "GlobalCrsTransformCache")]
//  [KnownType(typeof(BursaWolfGeographicTransform))]
//  [KnownType(typeof(ProjectionUnitTransform))]
//  [KnownType(typeof(StandardMolodenskyTransform))]
//  [KnownType(typeof(XYQuadrantTransform))]
//  [KnownType(typeof(GeographicGeocentricTransform))]
//  [KnownType(typeof(ChainedTransform))]
//  public class CoordinateSystemTransformCache
//  {


//    /// <summary>
//    /// xaml constructor
//    /// </summary>
//    public CoordinateSystemTransformCache()
//    {
//      _transforms = new TransformList();
//    }





//    protected TransformList _transforms;

//    /// <summary>
//    /// stores collection of Petra.Gis predefined coordinate system transforms
//    /// those might be only transforms that cant be done automatically and requres
//    /// transform parameters eg. StandardMolodenskyTranssform, BursaVolfTransform, Krovak....
//    /// </summary>
//    [DataMember(Name = "CrsTransformList")]
//    public TransformList Transforms
//    {
//      get { return _transforms; }
//      set
//      {
//        if (value == null)
//          throw new ArgumentException("Transforms can't be null");
//        _transforms = value;
//      }
//    }


//  }
//}
